Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac: Fix Window.Location when only SizeChanged is handled #2656

Conversation

cwensley
Copy link
Member

If you create a Form/Dialog and only handle its SizeChanged event, reading Window.Bounds would give you the wrong location.

Also set EtoWindow/EtoPanel.Delegate to null when disposed for monomac, for the case the form is never shown, which fixes some unit tests.

Also set EtoWindow/EtoPanel.Delegate to null when disposed for monomac, for the case the form is never shown, which fixes some unit tests.
@cwensley cwensley added the bug label May 28, 2024
@cwensley cwensley added this to the 2.8.4 milestone May 28, 2024
@cwensley cwensley merged commit 26c7ece into picoe:develop May 28, 2024
3 checks passed
@cwensley cwensley deleted the curtis/mac-fix-window-location-when-only-size-event-handled branch June 3, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant